﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UMLSynthesizer.Tasks.DiagramElements.Components
{
    public class MethodComponent : ComponentBase
    {
        #region Declarations

        public struct Parameter
        {
            public string Type;
            public string Identifier;
        }

        #endregion

        #region Public interface

        public MethodComponent(string identifier)
            : base(identifier)
        { Parameters = new Parameter[0]; }

        #endregion

        #region Properties

        public bool IsAbstract { get; set; }
        public IEnumerable<Parameter> Parameters { get; set; }

        #endregion
    }
}
